#ifndef MYWALLPAPERWIDGET_H
#define MYWALLPAPERWIDGET_H

#include <QWidget>
#include <QCloseEvent>

class TabVideoWidget;
class QSystemTrayIcon;

QT_BEGIN_NAMESPACE
namespace Ui { class MyWallpaperWidget; }
QT_END_NAMESPACE

class MyWallpaperWidget : public QWidget
{
    Q_OBJECT

public:
    MyWallpaperWidget(QWidget *parent = nullptr);
    ~MyWallpaperWidget();

protected:
    void initUI();
    void initSysTrayIcon();

    void closeEvent(QCloseEvent *event) override;

private:
    Ui::MyWallpaperWidget *ui;
    QSystemTrayIcon* m_sysTrayIcon;
    TabVideoWidget* m_tabVideo;
};
#endif // MYWALLPAPERWIDGET_H
